<script>
	import checkappupdate from './js_sdk/wonyes-checkappupdate/common/wonyes/checkappupdate.js'
	export default {
		onLaunch: function() {
			//console.log('App Launch')
			checkappupdate.check(
				{
				    title:"检测到有新版本！",
				    content:"请升级app到最新版本！",
				    canceltext:"暂不升级",
				    oktext:"立即升级",
				    api:'http://admin.haoshengheyue.com/api/appversion'
				}
			)
		},
		onShow: function() {
			//console.log('App Show')
			
		},
		onHide: function() {
			//console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/*每个页面公共css */
	@import url("./static/comm.css");
	::v-deep .u-line{
		border-bottom: 1px solid rgba(212, 212, 212,0.2)!important;
		border-top-color: rgba(212, 212, 212,0.2)!important;
		border-right-color: rgba(212, 212, 212,0.2)!important;;
		border-left-color: rgba(212, 212, 212,0.2)!important;;
	}
</style>
